package com.hrcx.mystery.constants;

/**
 * 配置类
 *
 * @author LinXiPeng
 */
public class Constants {
    /**
     * 3小时
     */
    public static final long TOKEN_EXPRESS_MINUTES = (60 * 24);


    public static final String DATE_FORMAT = "yyyy-MM-dd HH:mm:ss";
    public static final String DATE_FORMAT_UTC = "yyyy-MM-dd'T'HH:mm:ss.SSS'Z'";
    public static final String DATE_FORMAT_DATE = "yyyy-MM-dd";
    public static final String DATE_FORMAT_YEAR = "yyyy";
    public static final String DATE_FORMAT_MONTH_DATE = "MM-dd";
    public static final String DATE_FORMAT_MONTH = "yyyy-MM";
    public static final String DATE_TIME_FORMAT_NUM = "yyyyMMddHHmmss";
    public static final String DATE_FORMAT_NUM = "yyyyMMdd";
    public static final String DATE_FORMAT_START = "yyyy-MM-dd 00:00:00";
    public static final String DATE_FORMAT_END = "yyyy-MM-dd 23:59:59";
    public static final String DATE_FORMAT_MONTH_START = "yyyy-MM-01 00:00:00";
    public static final String DATE_FORMAT_YEAR_START = "yyyy-01-01 00:00:00";
    public static final String DATE_FORMAT_YEAR_END = "yyyy-12-31 23:59:59";
    public static final String DATE_FORMAT_HHMMSS = "HH:mm:ss";
    public static final String DATE_FORMAT_START_PEREND = "00:00:00";
    public static final String DATE_FORMAT_END_PEREND = "23:59:59";
    public static final String DATE_FORMAT_HHMM = "yyyy-MM-dd HH:mm";

    /**
     * 默认分页
     */
    public static final int DEFAULT_PAGE = 1;

    /**
     * 默认分页
     */
    public static final int DEFAULT_LIMIT = 20;

    /**
     * 升序排序
     */
    public static final String SORT_ASC = "asc";

    /**
     * 降序排序
     */
    public static final String SORT_DESC = "desc";

    /**
     * 盲盒开奖记录状态--待提货
     */
    public static final int RECORD_WAIT_PICK = 0;
    /**
     * 已发货
     */
    public static final int RECORD_SHIPPED = 1;
    /**
     * 已完成
     */
    public static final int RECORD_COMPLETE = 2;
    /**
     * 已合成
     */
    public static final int RECORD_SYNTHESIZED = 3;
    /**
     * 已回收
     */
    public static final int RECORD_RECYCLED = 4;
    /**
     * 回收卡编号
     */
    public static final int CARD_RECYCLE = 2;
    /**
     * 打折卡编号
     */
    public static final int CARD_DISCOUNT = 1;
    /**
     * 卡卷有效
     */
    public static final int CARD_VALID = 0;

}
